package com.demo.controller.admin;

import com.demo.common.model.Upload;
import com.demo.controller.BaseController;
import com.jfinal.plugin.activerecord.Page;
/**
 * 
 * @author Emode
 * 文件上传
 */
public class UploadAdminContrller extends BaseController<Upload>{
	
	public void index(){
		Page<Upload> page = Upload.me.paginate(getParaToInt("page",1), 10,getQueryParam());
		renderJson(page);
	}

}
